API Reference > OdGe Classes > OdGePoint3d Class > OdGePoint3d Operators > [] Operator > OdGePoint3d::[] Operator (unsigned int)
OdGePoint3d::[] Operator (unsigned int)
Syntax
C++
double operator [](unsigned int i) const;
Parameters 
Description 
unsigned int i 
[in] Index of coordinate. 

details Returns ith coordinate of this point. 

 

  • 0 returns the X-coordinate.
  • 1 returns the Y-coordinate.
  • 2 returns the Z-coordinate.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.